package com.mvp.shq.washer.ui.orderDetail;

import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.widget.ImageView;
import android.widget.TextView;

import com.jaeger.library.StatusBarUtil;
import com.mvp.shq.washer.R;
import com.mvp.shq.washer.base.BaseActivity;
import com.zhy.autolayout.AutoRelativeLayout;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class OrderDetailActivity extends BaseActivity<OrderDetailPresenter, OrderDetailModel> implements OrderDetailConstract.View {


    @BindView(R.id.title)
    TextView title;
    @BindView(R.id.tv_order_no)
    TextView tvOrderNo;
    @BindView(R.id.tv_status)
    TextView tvStatus;
    @BindView(R.id.tv_order_time)
    TextView tvOrderTime;
    @BindView(R.id.img_washer)
    ImageView imgWasher;
    @BindView(R.id.tv_washer_name)
    TextView tvWasherName;
    @BindView(R.id.tv_washer_no)
    TextView tvWasherNo;
    @BindView(R.id.tv_address)
    TextView tvAddress;
    @BindView(R.id.img_icon)
    ImageView imgIcon;
    @BindView(R.id.tv_pattern)
    TextView tvPattern;
    @BindView(R.id.tv_time)
    TextView tvTime;
    @BindView(R.id.tv_money)
    TextView tvMoney;
    @BindView(R.id.arl_bg)
    AutoRelativeLayout arlBg;
    @BindView(R.id.tv_pay_money)
    TextView tvPayMoney;

    @Override
    public int getLayoutId() {
        return R.layout.activity_order_detail;
    }

    @Override
    public void initView() {
        StatusBarUtil.setColor(this, ContextCompat.getColor(context, R.color.white), 0);
        title.setText("订单详情");
        imageUtil.loadResImage(R.mipmap.order_pattern_select,imgWasher);
    }


    @OnClick(R.id.back)
    public void onViewClicked() {
        finish();
    }
}
